package com.wsd.bean;

import java.sql.Timestamp;

/**
 * Articles entity. @author MyEclipse Persistence Tools
 */

public class Articles implements java.io.Serializable {

	// Fields

	private Integer AId;
	private Admin admin;
	private String ATitle;
	private String AContent;
	private Timestamp postTime;
	private Integer AModel;

	// Constructors

	/** default constructor */
	public Articles() {
	}

	/** minimal constructor */
	public Articles(String ATitle, String AContent, Timestamp postTime,
			Integer AModel) {
		this.ATitle = ATitle;
		this.AContent = AContent;
		this.postTime = postTime;
		this.AModel = AModel;
	}

	/** full constructor */
	public Articles(Admin admin, String ATitle, String AContent,
			Timestamp postTime, Integer AModel) {
		this.admin = admin;
		this.ATitle = ATitle;
		this.AContent = AContent;
		this.postTime = postTime;
		this.AModel = AModel;
	}

	// Property accessors

	public Integer getAId() {
		return this.AId;
	}

	public void setAId(Integer AId) {
		this.AId = AId;
	}

	public Admin getAdmin() {
		return this.admin;
	}

	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	public String getATitle() {
		return this.ATitle;
	}

	public void setATitle(String ATitle) {
		this.ATitle = ATitle;
	}

	public String getAContent() {
		return this.AContent;
	}

	public void setAContent(String AContent) {
		this.AContent = AContent;
	}

	public Timestamp getPostTime() {
		return this.postTime;
	}

	public void setPostTime(Timestamp postTime) {
		this.postTime = postTime;
	}

	public Integer getAModel() {
		return this.AModel;
	}

	public void setAModel(Integer AModel) {
		this.AModel = AModel;
	}

}